<template>
  <div id="app">
    <mynav></mynav>
    <div :class="{'view':$store.state.isShowNav}">
      <router-view />
    </div>
    <backtop></backtop>
  </div>
</template>
<script>
import mynav from "@/components/nav.vue";
import backtop from '@/components/backTop.vue'
export default {
  name: "app",
  components: {
    mynav,backtop
  },
  data() {
    return {};
  },
  created() {},
  methods: {}
};
</script>
<style lang="scss">
@import "~@/assets/css/common.scss";
#app {
  .view {
    padding-top: vw(50);
  }
}
</style>
